﻿using System;
using UnityEngine;

namespace E.Story
{
    /// <summary>
    /// 句子数据
    /// </summary>
    [Serializable]
    public class SentenceData
    {
        [SerializeField] private string text;

        /// <summary>
        /// 句子文本
        /// </summary>
        public string Text { get => text; set => text = value; }

        public SentenceData(string text) 
        { 
            this.text = text;
        }
    }
}